<!--
  Generated template for the ProdPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary" text-center>
    <ion-title>商品</ion-title>
    <ion-buttons end>
      <button ion-button icon-only (click)="addProd()" >
        <ion-icon name="add"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list >
    <ion-item detail-push *ngFor="let prod of prodList" (click)="prodDetail(prod)">
      {{prod.name}}
    </ion-item>
  </ion-list>
</ion-content>
